package com.zoweunion.mechanic.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * ${comments}
 *
 * @author wxx
 * @date 2023-05-11 16:31:20
 */
@Data
@TableName("t_s_tt_order")
@KeySequence("t_s_tt_order_id_seq")
public class TSTtOrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
//            @ApiModelProperty(value = "$column.comment")
    private String id;

    //            @ApiModelProperty(value = "$column.comment")
    private String sId;

    //            @ApiModelProperty(value = "$column.comment")
    private String cId;

    //            @ApiModelProperty(value = "$column.comment")
    private String oId;

    //            @ApiModelProperty(value = "$column.comment")
    private String dId;

    //            @ApiModelProperty(value = "$column.comment")
    private String uSId;

    //            @ApiModelProperty(value = "$column.comment")
    private String orderNo;

    //            @ApiModelProperty(value = "$column.comment")
    private String parentId;

    //            @ApiModelProperty(value = "1：维修，2：保养，3：维修+保养，4：返修")
    private Integer orderType;

    //            @ApiModelProperty(value = "$column.comment")
    private String uTId;

    //            @ApiModelProperty(value = "$column.comment")
    private String faultDesc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date orderCreatTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String mId;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer asStatus;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer paymentStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date paymentTime;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer paymentType;

    //            @ApiModelProperty(value = "$column.comment")
    private String paymentAmount;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer rwStatus;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer rcStatus;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer appraiseStatus;

    //            @ApiModelProperty(value = "$column.comment")
    private Double appraiseManner;

    //            @ApiModelProperty(value = "$column.comment")
    private Double appraiseResult;

    //            @ApiModelProperty(value = "$column.comment")
    private Double appraiseProductivity;

    //            @ApiModelProperty(value = "$column.comment")
    private String appraiseLable;

    //            @ApiModelProperty(value = "$column.comment")
    private String appraiseContext;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date appraiseTime;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer deleteFlag;

    //            @ApiModelProperty(value = "$column.comment")
    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date updateTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date createTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String remark;

    //            @ApiModelProperty(value = "$column.comment")
    private String contacts;

    //            @ApiModelProperty(value = "$column.comment")
    private String phone;

    //            @ApiModelProperty(value = "$column.comment")
    private String address;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer orderStatus;

    //            @ApiModelProperty(value = "返修次数 1=第一次返修,2=第二次返修")
    private Integer returnRepair;

    //            @ApiModelProperty(value = "听诊建议")
    private String tzAdvice;

    //            @ApiModelProperty(value = "听诊完成原因")
    private String completeReason;

    //            @ApiModelProperty(value = "$column.comment")
    private String czPlan;

    //            @ApiModelProperty(value = "$column.comment")
    private String jjPlan;

    //            @ApiModelProperty(value = "$column.comment")
    private String pjPlan;

    //            @ApiModelProperty(value = "$column.comment")
    private String zjPlan;

    //            @ApiModelProperty(value = "$column.comment")
    private String sgObj;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer urgent;

    //            @ApiModelProperty(value = "$column.comment")
    private String repairCause;

    //            @ApiModelProperty(value = "$column.comment")
    private String longitude;

    //            @ApiModelProperty(value = "$column.comment")
    private String latitude;

    //            @ApiModelProperty(value = "$column.comment")
    private String gId;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer authType;

    //            @ApiModelProperty(value = "$column.comment")
    private String rcSubmitId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date rcSubmitTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String rcConfirmId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date rcConfirmTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String rwSubmitId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date rwSubmitTime;

    //            @ApiModelProperty(value = "$column.comment")
    private String rwConfirmId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //            @ApiModelProperty(value = "$column.comment")
    private Date rwConfirmTime;

    //            @ApiModelProperty(value = "$column.comment")
    private Integer gFlag;

    //            @ApiModelProperty(value = "地区")
    private String area;

    //            @ApiModelProperty(value = "$column.comment")
    private String uCgId;

    //            @ApiModelProperty(value = "维修时间，单位分钟")
    private String repairTime;

    //            @ApiModelProperty(value = "修工到达地址")
    private String targetAddress;

    //            @ApiModelProperty(value = "折扣后价格")
    private String discountPrice;

    //            @ApiModelProperty(value = "领取配件的仓库")
    private String warehouselocationId;

    //            @ApiModelProperty(value = "折扣")
    private Double discount;


}

